import http from './../../../base/api/public'
let sysConfig = require('@/../config/sysConfig')
let apiUrl = sysConfig.sfsApiUrlPre;
import querystring from 'querystring'

//推荐课程列表
export const recommend_course =(userId)=>{
  return http.requestGet(apiUrl+'/learning/course/recommend/'+userId);
};

//收藏课程
export const collect_course=(userId,courseId)=>{
  return http.requestPost(apiUrl+'/learning/course/collect/'+userId+'/'+courseId)
};


